﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HTHMachineVision
{
    /// <summary>
    /// 标定数据类
    /// </summary>
    [Serializable]
    public class CalibrationData
    {
        [Description("编号")]
        public int Id { get; set; }
        [Description("图像X点坐标")]
        public double PicX { get; set; }
        [Description("图像Y点坐标")]
        public double PicY { get; set; }
        [Description("机器人X点坐标")]
        public double RobX { get; set; }
        [Description("机器人Y点坐标")]
        public double RobY { get; set; }
        [Description("标定时间")]
        public DateTime CreateTime { get; set; }

        public CalibrationData(int id, double picX, double picY, double robX, double robY, DateTime createTime)
        {
            Id = id;
            PicX = picX;
            PicY = picY;
            RobX = robX;
            RobY = robY;
            CreateTime = createTime;
        }

        public CalibrationData()
        {
        }
    }
}
